lib/pull: Don’t cache summary file until its signature is verified
authorPhilip Withnall <withnall@endlessm.com>
Mon, 19 Jun 2017 14:26:50 +0000 (15:26 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 27 Jun 2017 19:19:32 +0000 (19:19 +0000)
commiteb4887d619002932b348496c5613424b0ee120e0
tree441adaabf334698767f2245bbecd890283dd2523
parente0ad9b226604c08ec0fd25db68b7747e06e470d2
lib/pull: Don’t cache summary file until its signature is verified

This makes no difference to the validity of the code, since any summary
file loaded from the cache will be verified before being read anyway;
but it will make some upcoming changes a little simpler.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #961
Approved by: cgwalters
src/libostree/ostree-repo-pull.c